package com.java2104.entity;

public class RCClass {
    //班级实体类
    private int id;
    private String college;//学院
    private String className;//班级名称
    private String teacherName;//老师名字
    private int studentNum;//学生个数
    private int checkNum;//被点名次数
    private int absencePersonNum;//累计缺勤人数
    private float absenceRate;//缺勤率

    public RCClass() {
    }

    public RCClass(int id, String college, String className, String teacherName, int studentNum, int checkNum, int absencePersonNum, float absenceRate) {
        this.id = id;
        this.college = college;
        this.className = className;
        this.teacherName = teacherName;
        this.studentNum = studentNum;
        this.checkNum = checkNum;
        this.absencePersonNum = absencePersonNum;
        this.absenceRate = absenceRate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public int getStudentNum() {
        return studentNum;
    }

    public void setStudentNum(int studentNum) {
        this.studentNum = studentNum;
    }

    public int getCheckNum() {
        return checkNum;
    }

    public void setCheckNum(int checkNum) {
        this.checkNum = checkNum;
    }

    public int getAbsencePersonNum() {
        return absencePersonNum;
    }

    public void setAbsencePersonNum(int absencePersonNum) {
        this.absencePersonNum = absencePersonNum;
    }

    public float getAbsenceRate() {
        return absenceRate;
    }

    public void setAbsenceRate(float absenceRate) {
        this.absenceRate = absenceRate;
    }

    @Override
    public String toString() {
        return "RCClass{" +
                "id=" + id +
                ", college='" + college + '\'' +
                ", className='" + className + '\'' +
                ", teacherName='" + teacherName + '\'' +
                ", studentNum=" + studentNum +
                ", checkNum=" + checkNum +
                ", absencePersonNum=" + absencePersonNum +
                ", absenceRate=" + absenceRate +
                '}';
    }
}
